<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/common.css">
    <link rel="stylesheet" href="../css/edit.css">
    <!-- 引入 editor.md 的依赖 -->
    <link rel="stylesheet" href="editor.md/css/editormd.min.css" />

</head>

<body>
    <!-- 写博客 -->
    <div class="nav">
        <img src="../img/logo2.png" alt="">
        <span>我的博客系统</span>
        <span class="space"></span>
        <a href="blog_list.html">主页</a>
        <a href="blog_edit.html">创作</a>
        <a href="login.html">注销</a>
    </div>
    <div class="edit_blog_container">
        <div class="title">
            <input type="text" name="" id="">
            <button>发布文章</button>
        </div>
        <div id="editor">
            富文本
        </div>
    </div>
</body>
<script src="js/jquery.min.js"></script>
<script src="editor.md/lib/marked.min.js"></script>
<script src="editor.md/lib/prettify.min.js"></script>
<script src="editor.md/editormd.js"></script>
<script>
    let edit = editormd('editor', {
        width: "100%",
        height: "calc(100%-60px)",
        markdown:"###开始编写博客",
        path: "./editor.md/lib/"
    })
</script>

</html>